

<template>
  <div class="login-container1">
    <div style="position: absolute;padding: 6px;">
      <el-link @click="toDrawList" icon="el-icon-back" type="primary">返回</el-link>
    </div>
    <div>
          <draw :uuid="id"  />
    </div>
  </div>
</template>

<script src="./DrawEditor.js">

</script>



<style rel="stylesheet/scss" lang="scss">
.avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .avatar-uploader .el-upload:hover {
    border-color: #409EFF;
  }
  .avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
  }
  .avatar {
    width: 100px;
    height: 100px;
    display: block;
  }



</style>


/**
draw.execCommand('HyperLink', result.url, result.title || '');
draw.execCommand('HyperLink', null)
draw.queryCommandState("bold") || draw.execCommand("bold");
draw.execCommand("Priority", p);
draw.execCommand("Progress", parseInt(p) + 1);
draw.execCommand("image", resp.data.url);
draw.execCommand('Image', '')
draw.execCommand('note', content);
draw.execCommand('note', null)
draw.execCommand("text", "中心主题");
draw.execCommand('ArrangeUp')
draw.execCommand('ArrangeDown');
draw.execCommand('background', bgColor)
draw.execCommand('ExpandToLevel', 9999)
draw.execCommand('fontfamily', f.val)


draw.execCommand('resetlayout')
draw.execCommand('zoom', 100);
draw.execCommand('zoomIn')
draw.execCommand('hand')
draw.execCommand('camera', draw.getRoot(), 600);

draw.execCommand('RemoveNode');
draw.execCommand('resource', resource);
draw.execCommand('expand', true);
*/
